package com.hzx.ssm.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel("评论实体类")
public class Comment {
    @ApiModelProperty("评论的id")
    private String comment_id;
    @ApiModelProperty("评论内容")
    private String comment_content;
    @ApiModelProperty("评论时间")
    private Date comment_time;
    @ApiModelProperty("评论的用户id")
    private String comment_userId;
    @ApiModelProperty("评论的用户名")
    private String comment_userName;
    @ApiModelProperty("评论的消息的id")
    private String message_id;

    public String getComment_id() {
        return comment_id;
    }

    public void setComment_id(String comment_id) {
        this.comment_id = comment_id;
    }

    public String getComment_content() {
        return comment_content;
    }

    public void setComment_content(String comment_content) {
        this.comment_content = comment_content;
    }

    public Date getComment_time() {
        return comment_time;
    }

    public void setComment_time(Date comment_time) {
        this.comment_time = comment_time;
    }

    public String getComment_userId() {
        return comment_userId;
    }

    public void setComment_userId(String comment_userId) {
        this.comment_userId = comment_userId;
    }

    public String getComment_userName() {
        return comment_userName;
    }

    public void setComment_userName(String comment_userName) {
        this.comment_userName = comment_userName;
    }

    public String getMessage_id() {
        return message_id;
    }

    public void setMessage_id(String message_id) {
        this.message_id = message_id;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "comment_id='" + comment_id + '\'' +
                ", comment_content='" + comment_content + '\'' +
                ", comment_time=" + comment_time +
                ", comment_userId='" + comment_userId + '\'' +
                ", comment_userName='" + comment_userName + '\'' +
                ", message_id='" + message_id + '\'' +
                '}';
    }
}
